//
//  ClassifyTitleView.h
//  B2C
//
//  Created by xiaowu on 2017/7/27.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ClassifyTitleView : UIView

@property (nonatomic, strong) NSArray *titleArr;
@property (nonatomic, assign) NSInteger currentIndex;

@property (nonatomic, copy) void (^block)(NSInteger index);

/**
 *  @brief  通用的 TitleView
 *
 *  @param arr 传入类型 @[@"Title1",@"Title2"]
 */
- (void)setupWithTitleStrsArr:(NSArray <NSString *> *)arr withIndex:(NSInteger)index;

- (void)setToShowIndex:(NSInteger)index;

@end
